home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Aminet 30
/
Aminet 30 (1999)(Schatztruhe)[!][Apr 1999].iso
/
Aminet
/
misc
/
math
/
MathFX_src.lha
/
xform.c
< prev
Wrap
C/C++ Source or Header
|
1995-12-20
|
174b
|
12 lines
#include "mathfx.h"
void xform(x,y,tx,ty)
float x, y, *tx, *ty;
{
extern float tr[];
*tx = tr[0]*x + tr[1]*y + tr[2];
*ty = tr[3]*x + tr[4]*y + tr[5];
}